<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 小夏 < 449134904@qq.com>
// +----------------------------------------------------------------------
namespace app\teacher\validate;

use think\Validate;

class TeacherValidate extends Validate
{
    protected $rule = [
        'phone'        =>  'require',
	    'code'      =>  'require',
    ];
    protected $message = [
        'phone.require'    =>  '手机号码不能为空',
	    'code.require'  =>  '验证码不能为空',
    ];
}